<template>
  <div class="bottom-charts">
    <div class="bc-chart-item">
      <dv-scroll-board :config="config" />
    </div>
    <dv-decoration-2 :reverse="true" style="width:5px;height:150px;" />
     <div class="bc-chart-item">
      <dv-scroll-board :config="config" />
    </div>
  </div>
</template>

<script>
import LabelTag from './LabelTag'
export default {
  name: 'BottomCharts',
  components: {
    LabelTag
  },
  data() {
    return {
      config: {
        header: ['列1', '列2', '列3'],
        data: [
          ['行1列1', '行1列2', '行1列3'],
          ['行2列1', '行2列2', '行2列3'],
          ['行3列1', '行3列2', '行3列3'],
          ['行4列1', '行4列2', '行4列3'],
          ['行5列1', '行5列2', '行5列3'],
          ['行6列1', '行6列2', '行6列3'],
          ['行7列1', '行7列2', '行7列3'],
          ['行8列1', '行8列2', '行8列3'],
          ['行9列1', '行9列2', '行9列3'],
          ['行10列1', '行10列2', '行10列3']
        ]
      }
    }
  }
}
</script>

<style lang="scss">
.bottom-charts {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  position: relative;
  .bc-chart-item {
    width: 48%;
    height: 100%;
    padding-top: 10px;
    box-sizing: border-box;
  }
  .bcci-header {
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 20px;
  }
  .dv-active-ring-chart {
    height: calc(100% - 80px);
  }
  .label-tag {
    height: 30px;
  }
  .active-ring-name {
    font-size: 12px !important;
  }
  .decoration-1,
  .decoration-2,
  .decoration-3 {
    display: absolute;
    left: 0%;
  }
}
</style>
